/* uDig - User Friendly Desktop Internet GIS client
 * http://udig.refractions.net
 * (C) 2004-2008, Refractions Research Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation;
 * version 2.1 of the License.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 */
package symbology;

import java.util.ArrayList;
import javax.xml.parsers.*;
import feature.Feature;


/**
 * TODO Purpose of 
 * <p>
 *
 * </p>
 * @author John
 * @since 1.1.0
 */
public class GroupSymbolizer implements Symbolizer {
    
    public ArrayList<Symbolizer> symbolizers;
    
    public GroupSymbolizer()
    {
        symbolizers = new ArrayList<Symbolizer>();
    }
    
    public void add(Symbolizer s)  {
        symbolizers.add(s);
    }
 
    public void addSymbols( Feature feature, double scale, Symbols symbols ) {
        for (Symbolizer s: symbolizers)
            s.addSymbols(feature, scale, symbols);
    }

}
